package com.study.debby.smarttable.bean

import com.bin.david.form.annotation.SmartColumn
import com.bin.david.form.annotation.SmartTable
import java.io.Serializable

/**
 * Created by debby on 2018/6/6.
 * 描述:
 */
@SmartTable(name = "用户")
class User : Serializable {
    constructor()
    
    constructor(id: Long, name: String, age: Int) {
        this.id = id
        this.name = name
        this.age = age
    }

    @SmartColumn(id = 1, name = "学号")
    var id: Long = 100000
    @SmartColumn(id = 2, name = "姓名")
    var name: String? = "用户"
    @SmartColumn(id = 3, name = "年龄")
    var age: Int? = 18

}